package com.hm.manage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hm.common.annotation.Excel;
import com.hm.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 系统巡检子对象 tb_xtxjsub
 * 
 * @author hm
 * @date 2025-04-16
 */
public class Xtxjsub extends BaseEntity
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 主表id */
    @Excel(name = "主表id")
    private Long pid;

    /** 巡检时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "巡检时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date xjsj;

    /** 序号 */
    @Excel(name = "序号")
    private Long xh;

    /** 巡检内容 */
    @Excel(name = "巡检内容")
    private String xjnr;

    /** 巡检结果 */
    @Excel(name = "巡检结果")
    private String xjjg;

    /** 巡检结论：正常/异常 */
    @Excel(name = "巡检结论：正常/异常")
    private String xjjl;

    /** 巡检标准 */
    @Excel(name = "巡检标准")
    private String xjbz;

    /** 预留1 */
    @Excel(name = "预留1")
    private String yl1;

    /** 预留2 */
    @Excel(name = "预留2")
    private String yl2;

    /** 预留3 */
    @Excel(name = "预留3")
    private String yl3;

    /** 预留4 */
    @Excel(name = "预留4")
    private String yl4;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setXjsj(Date xjsj) 
    {
        this.xjsj = xjsj;
    }

    public Date getXjsj() 
    {
        return xjsj;
    }
    public void setXh(Long xh) 
    {
        this.xh = xh;
    }

    public Long getXh() 
    {
        return xh;
    }
    public void setXjnr(String xjnr) 
    {
        this.xjnr = xjnr;
    }

    public String getXjnr() 
    {
        return xjnr;
    }
    public void setXjjg(String xjjg) 
    {
        this.xjjg = xjjg;
    }

    public String getXjjg() 
    {
        return xjjg;
    }
    public void setXjjl(String xjjl) 
    {
        this.xjjl = xjjl;
    }

    public String getXjjl() 
    {
        return xjjl;
    }
    public void setXjbz(String xjbz) 
    {
        this.xjbz = xjbz;
    }

    public String getXjbz() 
    {
        return xjbz;
    }
    public void setYl1(String yl1) 
    {
        this.yl1 = yl1;
    }

    public String getYl1() 
    {
        return yl1;
    }
    public void setYl2(String yl2) 
    {
        this.yl2 = yl2;
    }

    public String getYl2() 
    {
        return yl2;
    }
    public void setYl3(String yl3) 
    {
        this.yl3 = yl3;
    }

    public String getYl3() 
    {
        return yl3;
    }
    public void setYl4(String yl4) 
    {
        this.yl4 = yl4;
    }

    public String getYl4() 
    {
        return yl4;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pid", getPid())
            .append("xjsj", getXjsj())
            .append("xh", getXh())
            .append("xjnr", getXjnr())
            .append("xjjg", getXjjg())
            .append("xjjl", getXjjl())
            .append("xjbz", getXjbz())
            .append("yl1", getYl1())
            .append("yl2", getYl2())
            .append("yl3", getYl3())
            .append("yl4", getYl4())
            .toString();
    }
}
